Optimal. Leaf size=18 \[ \sqrt{x^2+9}+2 \sinh ^{-1}\left (\frac{x}{3}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0044369, antiderivative size = 18, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {641, 215} \[ \sqrt{x^2+9}+2 \sinh ^{-1}\left (\frac{x}{3}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 641
Rule 215
Rubi steps
\begin{align*} \int \frac{2+x}{\sqrt{9+x^2}} \, dx &=\sqrt{9+x^2}+2 \int \frac{1}{\sqrt{9+x^2}} \, dx\\ &=\sqrt{9+x^2}+2 \sinh ^{-1}\left (\frac{x}{3}\right )\\ \end{align*}
Mathematica [A] time = 0.0103785, size = 18, normalized size = 1. \[ \sqrt{x^2+9}+2 \sinh ^{-1}\left (\frac{x}{3}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.042, size = 15, normalized size = 0.8 \begin{align*} 2\,{\it Arcsinh} \left ( x/3 \right ) +\sqrt{{x}^{2}+9} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.98458, size = 19, normalized size = 1.06 \begin{align*} \sqrt{x^{2} + 9} + 2 \, \operatorname{arsinh}\left (\frac{1}{3} \, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.73403, size = 58, normalized size = 3.22 \begin{align*} \sqrt{x^{2} + 9} - 2 \, \log \left (-x + \sqrt{x^{2} + 9}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.143122, size = 14, normalized size = 0.78 \begin{align*} \sqrt{x^{2} + 9} + 2 \operatorname{asinh}{\left (\frac{x}{3} \right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 2.184, size = 30, normalized size = 1.67 \begin{align*} \sqrt{x^{2} + 9} - 2 \, \log \left (-x + \sqrt{x^{2} + 9}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]